package com.nc.delivery_project.shared.proxy;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.nc.delivery_project.server.domain.Cargo;
import com.nc.delivery_project.shared.locator.CargoLocator;


/**
 * Created with IntelliJ IDEA.
 * User: Natalie D.
 * Date: 1/26/15
 * Time: 9:26 PM
 */
@ProxyFor(value = Cargo.class, locator = CargoLocator.class)
public interface CargoProxy extends EntityProxy {

    int getId();
    String getTitle();
    void setTitle(String title);
    int getCost();
    void setCost(int cost);
    CurrencyProxy getCurrency();
    void setCurrency(CurrencyProxy currency);
    int getWeight();
    void setWeight(int weight);
    int getHeight();
    void setHeight(int height);
    int getWidth();
    void setWidth(int width);
    int getDepth();
    void setDepth(int depth);
}